.PHONY:all
all: tcpser tcpcli

tcpser:tcpserver.cc
	g++ -o $@ $^ -std=c++11 -lpthread

tcpcli:tcpclient.cc
	g++ -o $@ $^ -std=c++11 -lpthread

.PHONY:clean
clean:
	rm -f tcpcli tcpser